const path = require("path");
const assets = require("../webpack.assets") === {} || require("./index");

module.exports = {
  mode: "none",
  entry: assets.entries,
  output: {
    path: path.resolve(),
    filename: "[name].js",
  },
  module: {
    rules: [
      {
        test: /\.less$/i,
        use: ["style-loader", "css-loader", "less-loader"],
      },
    ],
  },
};
